Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / GcWordDocument Class / MergeDocuments Method / MergeDocuments(FormattingCopyStrategy,GcWordDocument[]) Method
Specifies how formatting of the source documents is handled.
The source documents to merge.

In This Topic
    MergeDocuments(FormattingCopyStrategy,GcWordDocument[]) Method
    In This Topic
    Merges several source documents into a single new GcWordDocument.
    Syntax
    'Declaration
     
    Public Overloads Shared Function MergeDocuments( _
       ByVal copyStrategy As FormattingCopyStrategy, _
       ByVal ParamArray mergedDocuments() As GcWordDocument _
    ) As GcWordDocument
    public static GcWordDocument MergeDocuments( 
       FormattingCopyStrategy copyStrategy,
       params GcWordDocument[] mergedDocuments
    )

    Parameters

    copyStrategy
    Specifies how formatting of the source documents is handled.
    mergedDocuments
    The source documents to merge.

    Return Value

    The newly created GcWordDocument consisting of the merged Body ranges of the source documents.
    See Also